package com.nuc.impl;

/**
 * Time    : 2023/3/29 21:05
 * Author  : 王摇摆
 * FileName: Sparrow.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class Sparrow extends Bird {
    public final int DISTANCE = 100;

    @Override
    public int fly() {
        return this.DISTANCE;
    }

    @Override
    public void show() {
        System.out.println("Now I can fly " + this.fly() + " meters!");
    }
}
